<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>if判断标签</title>
</head>
<body>
<c:if test="${result.flag}">
    <c:if test="${result.age <= 18}">
        <h2>恭喜你，年轻人，未来是你的！</h2>
        <c:if test="${result.muyan == 'yootk.com'}">
            <h2>沐言科技：www.yootk.com</h2>
        </c:if>
    </c:if>
</c:if>
<c:if test="${result.flag == false}">
    <h2>这里没有你想看的结果，拜拜了您呐！</h2>
</c:if>
</body>
</html>
